* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  /* font-family: "Cambria"; */
  font-family: sans-serif;
  word-break: break-all;
}

:after,
:before {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  color: #ffffff;
  background-color: #2e4e7e;
}

::-moz-selection {
  color: #ffffff;
  background-color: #2e4e7e;
}

::-webkit-selection {
  color: #ffffff;
  background-color: #2e4e7e;
}

body {
  /* 跨平台适应的字体族 */
  font-family: "Helvetica Neue", Helvetica, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
  /* 字体清晰度设置，只作用于 OSX 下高分屏 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #262a30;
  min-height: 100vh;
  background-color: #ffffff;
}

a,
a:hover,
a:link,
a:visited,
a:active {
  text-decoration: none;
}

ol,
ul {
  list-style: none;
}

/* 禁止图片拖动 */
img {
  user-select: none;
  -webkit-user-drag: none;
}

/* 去除输入框的外部高亮 */
input,
button,
textarea {
  outline: 0;
}

/* 解决 Font Boosting 问题 */
p {
  max-height: 100%;
}

button {
  border: none;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}
